<template>
	<view :class="currentTheme">
		<a-nabbar name="行业活动" />
		<mescroll-body  @init="mescrollInit"  @down="downCallback"  @up="upCallback">
			<view class=" u-padding-left-32 u-padding-right-32">
				<view  v-for="(item,index) in dataList" :key="index" class="u-margin-top-20">
					<!--  -->
					<list-item :item="item" @click.native="goPathDetail(item)" showDelete :isShare="false" @remove="getRemove" >
						<view slot="content">
							<view class="desc  u-font-24 text-color-DEDEDE line-clamp u-padding-top-14">{{item.info}}</view>
							<view>活动时间：2020-12-12</view>
						</view>
					</list-item>
				</view>
			</view>
		</mescroll-body>
	</view>
</template>

<script>
	import upCallback from '@/mixins/upCallbackMixin.js'
	export default {
		mixins:[upCallback],
		data() {
			return {	
				apiModule:'shopApi',
			}
		},
		methods: {
			goPathDetail(item){
				this.$u.route({
					url:'/pagesA/itemDetail/itemDetail',
					params:{
						id:item.productId
					}
				})
			}
		},
	}
</script>
